package com.guo.hui.dao;

import com.guo.hui.entity.MyRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MyRoleMapper {

    void deleteByPrimaryKey(Integer id);

    void insert(MyRole record);

    MyRole selectByPrimaryKey(Integer id);

    void updateByPrimaryKey(MyRole record);

    List<MyRole> getMyRoleList(Map<String, Object> map);

    List<MyRole> findByUid(@Param("uid") Integer uid);
}